import createAxios from '/@/utils/axios'

export const url = '/admin/vpay.Config/'

export function edit(data: anyObj) {
    return createAxios(
        {
            url: url + 'edit',
            method: 'post',
            data: data,
        },
        {
            showSuccessMessage: true,
        }
    )
}


export function index() {
    return createAxios(
        {
            url: url + 'index',
            method: 'get',
        }
    )
}